﻿<Window x:Class="BSDS.WindowsConsole.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="BSDS Tool" Height="350" Width="525">
    <Grid>
        <RadioButton x:Name="btnDownload" Content="Download" Height="23" VerticalAlignment="Top" HorizontalAlignment="Left" Width="99" IsChecked="True"
                     Checked="btnDownloadCheckedChanged"/>
        <RadioButton x:Name="btnGeocode" Content="Geocode" Height="23" Margin="105,0,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="76"
                     Checked="btnGeocodeCheckedChanged"/>
        <CheckBox x:Name="btnUpload" Content="Upload" Height="23" VerticalAlignment="Top" Margin="187,0,0,0" HorizontalAlignment="Left" Width="83"
                  IsEnabled="{Binding Path=IsChecked,ElementName=btnGeocode}"/>
        <Label Content="File to upload" Height="28" HorizontalAlignment="Left" Margin="40,29,0,0" Name="label1" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="129,31,0,0" Name="uploadFile" VerticalAlignment="Top" Width="218" />
        <Button Content="Browse..." Height="23" HorizontalAlignment="Left" Margin="353,31,0,0" Name="button1" VerticalAlignment="Top" Width="75" />
        <CheckBox Content="Save Output As " Height="16" HorizontalAlignment="Left" Margin="21,64,0,0" Name="checkBox1" VerticalAlignment="Top" />
        <TextBox IsEnabled="{Binding ElementName=checkBox1,Path=IsChecked}" Height="23" HorizontalAlignment="Left" Margin="129,60,0,0" Name="saveAsFile" VerticalAlignment="Top" Width="218"/>
        <Button IsEnabled="{Binding ElementName=checkBox1,Path=IsChecked}" Content="Browse..." Height="23" HorizontalAlignment="Left" Margin="353,60,0,0" Name="button2" VerticalAlignment="Top" Width="75" />
        <Label Content="Master Key" Height="28" HorizontalAlignment="Left" Margin="13,87,0,0" Name="label2" VerticalAlignment="Top" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="85,89,0,0" Name="textBox1" VerticalAlignment="Top" Width="405" />
        <CheckBox Content="Query Key" Height="16" HorizontalAlignment="Left" Margin="11,121,0,0" Name="checkBox2" VerticalAlignment="Top" />
        <TextBox IsEnabled="{Binding ElementName=checkBox2,Path=IsChecked}" Height="23" HorizontalAlignment="Left" Margin="85,118,0,0" Name="textBox2" VerticalAlignment="Top" Width="405" />
        <Button Content="List Data" Height="23" HorizontalAlignment="Left" Margin="13,147,0,0" Name="button3" VerticalAlignment="Top" Width="75"
                Click="ListData"/>
        <Button Content="Go" Height="23" HorizontalAlignment="Left" Margin="106,190,0,0" Name="btnGo" VerticalAlignment="Top" Width="75" />
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="94,147,0,0" Name="cmbDataSources" VerticalAlignment="Top" Width="396" />
    </Grid>
</Window>
